#include "Sliceenta.cpp"
#include "Smasterat.cpp"
#include "Sdoctorat.cpp"
#include "Student.cpp"
using namespace std;
int main()
{
	Sdoctorat Ana = Sdoctorat(9, "Algorithms and Trees");
	cout << Ana << " ";
	Ana.printPub();
	Smasterat Ion = Smasterat(8, "Rosia Montana");
	cout << Ion << " ";
	Ion.printPro();
	Sliceenta Mihai;
	Sliceenta George;
	cin >> Mihai;
	cin >> George;
	if (Mihai == George)
		cout << "Yes\n";
	else
		cout << "No\n";
	
	return 0;
}
